package com.cakin.springbootlog4j2;

import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@Log4j2
public class Springbootlog4j2Application {

	public static void main(String[] args) {
		SpringApplication.run(Springbootlog4j2Application.class, args);
		log.debug("sl4j.debug in main");
		log.info("sl4j.info in main");
		log.error("sl4j.error in main");
	}
}
